import AssetsMaterialManage from '@/views/materials/assets/material'
import {RouteView } from '@/layouts'

export default {
    path: '/newFeature/asset',
    component: AssetsMaterialManage,
    // component: RouteView,
    redirect: '/newFeature/asset/create',
    name: 'AssetsMaterialManage',
    meta: {
        title: '资产',
        keepAlive: true
    },
    children: [
        {
            path: '/newFeature/asset/create',
            name: 'AssetCreate',
            meta: {title: '智慧展厅',keepAlive: true},
            component: () => import('@/views/materials/assets/material/create'),
        },
        {
            path: '/newFeature/asset/import',
            name: 'AssetImport',
            meta: {title: '智慧展厅-立项',keepAlive: true},
            component: () => import('@/views/materials/assets/material/create/import'),
        },
        {
            path: '/newFeature/asset/detail',
            name: 'AssetDetail',
            meta: {title: '立项详情',keepAlive: true,noTab: false},
            component: () => import('@/views/materials/assets/material/create/detail'),
        },
        {
            path: '/newFeature/asset/list',
            name: 'AssetTransform',
            meta: {title: '转资产列表',keepAlive: true,noTab:false},
            component: () => import('@/views/materials/assets/material/create/transform'),
        },
        {
            path: '/newFeature/asset/manage',
            name: 'AssetManage',
            meta: {title: '资产管理',keepAlive: true},
            component: () => import('@/views/materials/assets/material/manage'),
        },
        {
            path: '/newFeature/asset/manage/detail',
            name: 'AssetManageEdit',
            meta: {title: '资产管理-详情',keepAlive: true, noTab:false},
            component: () => import('@/views/materials/assets/material/manage/detail'),
        },
        {
            path: '/newFeature/asset/manage/action',
            name: 'AssetAction',
            meta: {title: '资产管理',keepAlive: true, noTab:false},
            component: () => import('@/views/materials/assets/material/manage/actions'),
        }
    ]
}
